﻿using Basic.HrRemoteModel.Msg.Model;
using WeDonekRpc.Client;
using WeDonekRpc.Model;

namespace Basic.HrService.Interface
{
    public interface IEmpMsgService
    {
        Dictionary<string, int> GetTotal ( MsgGetArg arg );
        void Adds ( MsgAdd add );
        void BatchOpt ( MsgAdd[] adds, ToVoidItem[] toVoid, MsgItem[] done );
        PagingResult<MsgDatum> Query ( MsgQuery query, IBasicPage paging );
        void SetAlreadyRead ( long id );
        void SetAlreadyRead ( long[] ids );
        void SetDone ( string linkType, long linkPk, string tag );
        void ToVoid ( ToVoidItem[] items );
        void ToVoid ( string linkType, long linkPk, string tag );
    }
}